/*
 * Modifiable.java
 *
 * Created on April 13, 2007, 12:01 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.atomojo.app.db;

import java.sql.SQLException;
import java.sql.Timestamp;

/**
 *
 * @author alex
 */
public interface Modifiable
{
   /**
    * Returns the modification timestamp
    */ 
   Timestamp getEdited();
   /**
    * Changes the modification time without a journal entry
    */
   Timestamp touch()
      throws SQLException;
   /**
    * Marks the item has modified with a journal entry
    */
   Timestamp edited()
      throws SQLException;
}
